package com.ext.portlet.myprofile.service.impl;

import java.util.List;

import com.ext.portlet.myprofile.model.MyProfile;
import com.ext.portlet.myprofile.service.base.MyProfileLocalServiceBaseImpl;
import com.ext.portlet.myprofile.service.persistence.MyProfileUtil;
import com.liferay.portal.SystemException;


public class MyProfileLocalServiceImpl extends MyProfileLocalServiceBaseImpl {
	public  MyProfile getUserId(long userId) throws SystemException{	
return  MyProfileUtil.fetchByUserId(userId);
}
public List<MyProfile> getAll()
		throws SystemException {	
	return MyProfileUtil.findAll();
	}
}
